package com.recSys.inter;

import com.recSys.model.BuyRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BuyRecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BuyRecord record);

    int insertSelective(BuyRecord record);

    BuyRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BuyRecord record);

    int updateByPrimaryKey(BuyRecord record);

    List<Integer> selectByDeadIDItemType(@Param("deadIDList") List<Integer> deadIDList,
                                           @Param("typeList") List<Integer> typeList);
}